@import 'stylesheets/globals.scss';

.headers {
  right: auto;
}

.headerWrap {
  display: inline-block;
  vertical-align: top;
  background: #66637A;
  color: white;
  line-height: 30px;
  padding: 0 16px;
  border-right: 1px solid #e3e3ea;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.headerText {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0; // Enable text truncation in flex containers
}

.headerLabel {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0; // Enable text truncation
}

.pointerIcon {
  // Reset button styles
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  background: rgba(255, 255, 255, 0.2);
  
  // Custom styles
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  z-index: 10;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  margin-left: 5px;
  flex-shrink: 0;
  
  & svg {
    transform: rotate(316deg);
  }
  
  &:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
  }
  
  &:focus {
    opacity: 1;
    background: rgba(255, 255, 255, 0.4);
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 1px;
  }
}

.handle {
  position: absolute;
  top: 0;
  right: -4px;
  width: 8px;
  height: 30px;
  cursor: ew-resize;
}

.tableRow {
  @include MonospaceFont;
  font-size: 12px;
  white-space: nowrap;
  height: 30px;
  border-bottom: 1px solid #e3e3ea;
}

.tableRow:nth-child(odd) {
  background: #f4f5f7;
}

.cell {
  line-height: 20px;
  padding: 5px 16px;
  border-right: 1px solid #e3e3ea;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: none;
}

.tableRow td.pillCell {
  line-height: 8px;
}

.clickableText {
  cursor: pointer;
}

